/**
 * Copyright (C) 2009-2012, KingHool.com
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see http://www.gnu.org/licenses.
 */
package com.kinghool.smodel.io.bean.xml;

import com.kinghool.smodel.io.bean.annotation.Attribute;

/**
 * 
 * @Author Allen Deng(dengtailin@gmail.com) 
 */
public abstract class BeanFieldModel {
	@Attribute(name="field-name")
	private String fieldName;
	
	@Attribute(name="include")
	private boolean includeExist = false;
	
	@Attribute(name="exclude")
	private boolean excludeExist = false;

	public boolean isIncludeExist() {
		return includeExist;
	}

	public void setIncludeExist(boolean includeExist) {
		this.includeExist = includeExist;
	}

	public boolean isExcludeExist() {
		return excludeExist;
	}

	public void setExcludeExist(boolean excludeExist) {
		this.excludeExist = excludeExist;
	}

	public String getFieldName() {
		return fieldName;
	}

	public void setFieldName(String fieldName) {
		this.fieldName = fieldName;
	}
}
